Summary

Redirects the user to a URL depending on hostname in request header.

Component properties
Category AS Miscellaneous
Version 1.0
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages C# Visual Basic.NET
Output content type inline

When to use

This component is typically used when you would like to redirect visitors to different pages depending on configurable criterias.

Programming interface

Parameters

  • CriteriaEqual
    Compare hostname in request using equal match. Ie. redirect If request.servervariables("http_host") = Hostname
  • CriteriaContains
    Compare hostname in request using partial match. Ie. redirect If request.servervariables("http_host") contains Hostname
InverseCriteria
Redirect if criteria is not met
Hostname
A hostname to match
RedirectURL
URL to redirect to if criteria is met

Remarks